let testServerUrl = 'http://asset.talkweb.com.cn'

// 配置编译环境和线上环境之间的切换
let baseUrl = "";
let activeUrl = "";
let iconfontVersion = ["567566_pwc3oottzol"];
 let iconfontUrl = `//at.alicdn.com/t/font_$key.css`;
// let iconfontUrl = '../../public/cdn/front/iconfont.css';
let codeUrl = `${baseUrl}/code`;
const env = process.env;
let itWkflow = 'bat-wkflow'
if (env.NODE_ENV == "development") {
    // baseUrl = `http://192.168.1.52:17201/fk-auth`;
    // baseUrl = `http://192.168.1.52:17201/fk-auth`;
    // activeUrl = `http://192.168.1.52:17210/bat-wkflow`;
    // activeUrl = `http://test.bat.77bi.vip/bat-wkflow`;
    // baseUrl = `http://test.bat.77bi.vip/fk-auth`;
	
	activeUrl = `${testServerUrl}/${itWkflow}`;
	baseUrl = `${testServerUrl}/fk-auth`;
} else if (env.NODE_ENV == "production") {
    // baseUrl = ``; //生产环境地址
    baseUrl = `${testServerUrl}/fk-auth`; 
    activeUrl = `${testServerUrl}/${itWkflow}`;
} else if (env.NODE_ENV == "test") {
    // baseUrl = ``; //测试环境地址
    baseUrl = `/fk-auth`;
    activeUrl = `/${itWkflow}`;
}
export { baseUrl, iconfontUrl, iconfontVersion, codeUrl, env, activeUrl};